javascript one off event listener

42

javascript one off event listener -

EventTarget.addEventListener("click", function() {
    // Do something
}, {once : true});

Comments

Submit
0 Comments